# coding=utf-8


print("hello world")

# print(1)

#判断类型
# print(type(1))

#取余，可以用于某些特殊需求，比如求个位上的数值
# print(66524%10)

'''
指数运算
'''
# print('3的3次方', 3**3) 
# print('25的开平方', 25**0.5) 

#整数除法
# print(9//2)

#换算成多少K
# print(66524//1000)


#注释

'''
单引号的多行注释
多行注释使用单引号
'''
"""
多行注释
"""

# name = input('请输入名字: ')
# print('你好 '+name)

# result = f"你好{name}"
# print(result)

# pi = 3.1415926
# result = f"圆周率：{pi:.2f}"

#中间对齐
# pi = 3.1415926
# result = f"圆周率：{pi:^50.2f} 不是一个无线循环小数"

#右对齐
# pi = 3.1415926
# result = f"圆周率：{pi:>50.2f} 不是一个无线循环小数"

#左对齐
# pi = 3.1415926
# result = f"圆周率：{pi:<50.2f} 不是一个无线循环小数"

#显示符号
# pi = 3.1415926
# result = f"圆周率：{pi:<+50.2f} 不是一个无线循环小数"

#填充符号
# pi = 3.1415926
# result = f"圆周率：{pi:*^+50.2f} 不是一个无线循环小数"

#.format(arg1,arg2)格式
# pi = 3.1415926
# result = "圆周率：{:*^+50.2f} 不是一个无线循环小数".format(pi)
# print(result)

strNikeName = '明天上班几点,几点下班'

# lenth = len(strNikeName)
# print(lenth)

# c = strNikeName.count('几')
# print(c)

# findIndex = strNikeName.find('上班')
# print(findIndex)

# new_str = strNikeName.replace('上班','下班')
# print(new_str)

# is_in = '几' in strNikeName
# print(is_in)

# is_in = '几' not in strNikeName
# print(is_in)

mylist = list(range(1,21,2))
# print(mylist)
# for item in mylist:
#     print(item)

# print(f"mylist的长度为: {len(mylist)} " )

# for listIndex in range(len(mylist)):
#     print(mylist[listIndex])

# mytuple = (1,2,3,4,5)
# print(mytuple)

# for element in mytuple:
#     print(element)

# tuplelist = list(mylist)
# print(type(tuplelist))
# print(tuplelist)

l = []
i = ""
# while i != 'q':
#     i = input("请输入你的计划（q 退出）：")
#     l.append(i)
# print(l)

while True:
    i = input("请输入你的计划（q 退出）：")
    if i == 'q':
        break
    l.append(i)
    
print(l)

endText = input("hello world")



